<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改密码</title>
<%@include file="/view/common/js-css.jsp"%>
</head>
<body>
	<div id="frameWrapper" class="frameWrapper">
		<div class="titlebar">
			<a class="btn btn-getionfo" href="javascript:;"><i
				class="fa fa-upload"></i>&nbsp;&nbsp;导入Excel</a>
			<p>
				当前位置：个人中心<span>/</span>修改密码
			</p>
		</div>

		<div class="formbar">
			<form name="addGrade"
				action="<%=request.getContextPath()%>/StudentServlet?command=update"
				method="post">
				<div class="form_control">
					<span class="input-name">账号：</span> <input class="required "
						value="${search.student_sno }" type="text" name="studentsno"
						data-tip="请输入账号" data-valid="isNonEmpty"
						data-error="账号不能为空||账号格式不正确" placeholder="账号...">
				</div>
				<div class="form_control form_control">
					<span class="input-name">曾用密码：</span> <input class="required"
						value="${search.student_password }" type="password"
						data-tip="请输入密码" data-valid="isNonEmpty"
						data-error="密码不能为空||密码格式不正确" name="password"
						placeholder="请输入密码...">
				</div>
				<div class="form_control form_control">
					<span class="input-name">新密码：</span> <input id="myPassword1"
						class="required" name="newpassword" type="password"
						data-tip="请输入密码"
						data-valid="isNonEmpty||isSamePassword:myPassword2"
						data-error="密码不能为空||两次输入密码不同" placeholder="请输入密码...">
				</div>
				<div class="form_control form_control">
					<span class="input-name">确认密码：</span> <input id="myPassword2"
						class="required" type="password" data-tip="请输入密码"
						data-valid="isNonEmpty||isSamePassword:myPassword1"
						data-error="密码不能为空||两次输入密码不同" placeholder="请输入密码...">
				</div>

				<div class="submit">
					<input type="submit" value="立即提交" />
				</div>
			</form>
		</div>
	</div>
	<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
	<script type="text/javascript" src="js/jquery-validate.js"></script>
	<script type="text/javascript" src="js/jquery.nicescroll.min.js"></script>
	<script type="text/javascript" src="js/main.js"></script>
	<script type="text/javascript" src="js/studentManager_add.js"></script>
</body>
</html>